/*
 * //******************************************************************
 * //
 * // Copyright 2016 Samsung Electronics All Rights Reserved.
 * //
 * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 * //
 * // Licensed under the Apache License, Version 2.0 (the "License");
 * // you may not use this file except in compliance with the License.
 * // You may obtain a copy of the License at
 * //
 * //      http://www.apache.org/licenses/LICENSE-2.0
 * //
 * // Unless required by applicable law or agreed to in writing, software
 * // distributed under the License is distributed on an "AS IS" BASIS,
 * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * // See the License for the specific language governing permissions and
 * // limitations under the License.
 * //
 * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 */
package org.iotivity.cloud.accountserver.resources.acl.id;

import java.util.List;

/**
 *
 * This class holds Ace of Acl.
 *
 */

public class Ace {

    String aceid;
    String subjectuuid;
    int stype;
    int permission;
    List<AceResource> resources;
    List<String> validity;

    public Ace() {

    }

    public Ace(String aceid, String subjectuuid, int stype, int permission,
            List<AceResource> resources, List<String> validity) {

        this.aceid = aceid;
        this.subjectuuid = subjectuuid;
        this.stype = stype;
        this.permission = permission;
        this.resources = resources;
        this.validity = validity;
    }

    public String getAceid() {
        return aceid;
    }

    public void setAceid(String aceid) {
        this.aceid = aceid;
    }

    public String getSubjectuuid() {
        return subjectuuid;
    }

    public void setSubjectuuid(String subjectuuid) {
        this.subjectuuid = subjectuuid;
    }

    public int getStype() {
        return stype;
    }

    public void setStype(int stype) {
        this.stype = stype;
    }

    public int getPermission() {
        return permission;
    }

    public void setPermission(int permission) {
        this.permission = permission;
    }

    public List<AceResource> getResources() {
        return resources;
    }

    public void setResources(List<AceResource> resources) {
        this.resources = resources;
    }

    public List<String> getValidity() {
        return validity;
    }

    public void setValidity(List<String> validity) {
        this.validity = validity;
    }

}
